package edu.java.texbooks.scjp.test04;

public class PerfectException extends Exception {
    String information = null;
    String superInfo = null;

    PerfectException() {
	superInfo = super.getMessage();
	information = superInfo + "\n" + this.getMessage();
    }

    public void printInfo() {
	if (information != null) {
	    System.err.println(information);
	    System.out.println("alaObama");
	}
    }
}
